/**
 * Created by Freeman on 2016/7/22.
 */
module.exports = {
    entry: './index.js',

    output: {
        filename: 'bundle.js',
        publicPath: ''
    },

    module: {
        loaders: [
            {
                test: /\.js$/,
                exclude: /node_modules/,
                loader: 'babel-loader'
            },
            {
                test: /\.css?$/,
                loaders: [ 'style', 'raw' ],
            }
        ]
    }
}
